home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 8622 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: redstone.interpath.net!mercury!softbase
  2. From: softbase@mercury.interpath.net (Scott McMahan - Softbase Systems)
  3. Newsgroups: comp.lang.c++,comp.lang.c
  4. Subject: Re: C++ Interpreter (source): Where?
  5. Followup-To: comp.lang.c++,comp.lang.c
  6. Date: 5 Mar 1996 13:22:06 GMT
  7. Organization: Interpath -- Providing Internet access to North Carolina
  8. Message-ID: <4hhf5u$igo@news.interpath.net>
  9. References: <4go04r$b5i@news1.wolfe.net> <Pine.SOL.3.91.960303190800.4477A-100000@eesun2.tamu.edu>
  10. NNTP-Posting-Host: mercury.interpath.com
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Ajay Kumar Gummadi (ajay@ee.tamu.edu) wrote:
  14.  
  15. :   For languages like c and C++, you get compilers not interpretors.
  16.  
  17. That's not true -- C is fairly easy to interpret. I know of 2
  18. interpreters, and I'm sure there are more. C is very elegant and
  19. consistent -- it isn't hard to parse. I wouldn't develop commercial
  20. software with a C interpreter, but they're a lot of fun and very
  21. educational if you ever have to write interpreting or parsing code.
  22.  
  23. C++ is a different matter. I'm sure it is possible to write an
  24. interpreter for it, but with constructors, destructors, virtual
  25. functions, and the C++ emphasis on dynamic allocation instead of static
  26. it would be very, very hard. C++ is complex to begin with -- C has a
  27. lot less things to interpret than C++. I've never heard of a C++
  28. interpreter.
  29.  
  30. Scott
  31.  
  32.